﻿//===============================================================================
//	COpenRewardDialogue
//	打开奖励对话框
//===============================================================================

#pragma once

#include "BaseMessage.h"
#include "RewardData.h"


class COpenRewardDialogue
	: public BaseMessage
{
public:
	COpenRewardDialogue(uint32_t uid, uint32_t pn);
	~COpenRewardDialogue();

public:
	//---------------------------------------------------------------------------
	static BaseMessage* Create(uint32_t uid, uint32_t pn)
	{ 
		return new COpenRewardDialogue(uid, pn);
	}

public:
	//---------------------------------------------------------------------------
	virtual void HandleMessage(Player* pplayer) override final
	{}

public:
	//---------------------------------------------------------------------------
	void SetRewardDialogue(RewardData& rewardData);
};